package com.xyrl.project.common.store.service;

import com.xyrl.project.common.store.entity.StoreLegal;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @className StoreLegalService.java
* @company 重庆星纭融链科技公司
* @author 徐恩源
* @version 1.0
* @date 2019-12-31 14:08:40
* @Description 商户企业法人service
*/
public interface StoreLegalService extends IService<StoreLegal> {

    /**
     * 绑定企业企业法人身份证
     * @param storeLegal
     * @param salesId
     * @param isSalesUser
     * @author 徐恩源
     * @date 2019-12-31 17:09:42
     */
    String bindIdCard(StoreLegal storeLegal, Long salesId, boolean isSalesUser);
    /**
     * 根据storeId查询身份证信息
     * @author 徐恩源
     * @date 2020-01-13 13:46:46
     * @param storeId
     */
    StoreLegal findStoreLegalByStoreId(long storeId);
}
